package com.bnlr.lrparking.constant;

import com.bnlr.lrparking.R;
import com.bnlr.lrparking.model.StallHeaderGridBean;

import java.util.ArrayList;
import java.util.List;

/**
 * 首页数据源
 * @author tian
 */

public class DataServer {
    /**
     * 获取车位首页头部girdView数据
     * @return list
     */
    public static List<StallHeaderGridBean> getHeaderGirdData() {
        List<StallHeaderGridBean> list = new ArrayList<>();
        list.add(new StallHeaderGridBean(R.mipmap.tab2_icon1,"推荐车位"));
        list.add(new StallHeaderGridBean(R.mipmap.tab2_icon2,"车位出售"));
        list.add(new StallHeaderGridBean(R.mipmap.tab2_icon3,"车位长租"));
        list.add(new StallHeaderGridBean(R.mipmap.tab2_icon4,"车位求购"));
        list.add(new StallHeaderGridBean(R.mipmap.tab2_icon5,"车位求租"));
        list.add(new StallHeaderGridBean(R.mipmap.tab2_icon6,"利人停车"));
        list.add(new StallHeaderGridBean(R.mipmap.tab2_icon7,"共享车位"));
        list.add(new StallHeaderGridBean(R.mipmap.tab2_icon8,"车位投建"));
        return list;
    }
}
